package nayasis.study.pattern.observer;

public class Run {

	public static void main(String[] args) {

		System.out.println( "Enter Text >" );
		
		EventSource eventSource = new EventSource();
		
		ResponseHandler responseHandler = new ResponseHandler();
		
		eventSource.addObserver( responseHandler );
		
		
		Thread thread = new Thread( eventSource );
		
		thread.start();
		
	}

}
